Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Завантаження документів з додатковою інформацією #15

Open
wants to merge 4 commits into
base: upstream
Choose a base branch
from

Conversation

VDigitall
Copy link
Member

@VDigitall VDigitall commented Jun 30, 2020

Додаткові можливості при завантаженні та оновленні документів

Для можливості завантажувати або оновлювати документ з додатковими властивостями, додано атрибут additional_doc_data, який містить ці властивості

if additional_doc_data:
payload['data'].update(additional_doc_data)

Використання:

client.upload_document(
    file_, tender_id,
    doc_type='contractSchema',
    additional_doc_data = {"documentOf": "document", "relatedItem": "847e117b17464144ae95da63d3f0846f"}
)

oleksiyVeretiuk and others added 4 commits May 18, 2020 14:42
Patch document to api with additional fields

See merge request op/e-contracting/openprocurement.client.python!1
Add additional doc data functionality for update_document

See merge request op/e-contracting/openprocurement.client.python!2
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 79.474% when pulling 04b06ac on quintagroup:feature/update_document into 5a1fc58 on ProzorroUKR:upstream.

@VDigitall VDigitall changed the title Update document with additional data Завантаження документів з додатковою інформацією Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants